package com.aisino.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
@ComponentScan(basePackages = {"com.aisino"})
public class ApiApplication {

	public static void main(String[] args) {
		SpringApplication.run(ApiApplication.class, args);
	}
	/**
	 * 首页
	 *
	 * @author xuyuxiang
	 * @date 2022/7/8 14:22
	 **/
	@GetMapping("/")
	public String index() {
		return "API";
	}
}
